export default {
  data() {
    return {
      // 获取仓库列表
      warehouse_options: []
    }
  },
  methods: {
    // 获取仓库列表
    async getWarehouseList() {
      const { data, code } = await this.$api.warehouse.getList({
        status: -1,
        current_page: 1,
        page_number: 1000
      })
      if (code === 1) {
        this.warehouse_options = data.records
      }
    }
  }
}
